/* 全局样式重置 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #1e3a8a;
    /* 深蓝色背景 */
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}


/* 主容器 */

.container {
    width: 100%;
    height: 100vh;
    display: flex;
    position: relative;
}


/* 左侧装饰区域 */

.decoration-area {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}


/* 装饰元素基础样式 */

.decoration-element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(147, 197, 253, 0.2));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}


/* 各个装饰元素的具体样式 */

.element-1 {
    width: 120px;
    height: 120px;
    top: 15%;
    left: 20%;
    animation-delay: 0s;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.4), rgba(147, 197, 253, 0.3));
}

.element-2 {
    width: 80px;
    height: 80px;
    top: 25%;
    left: 60%;
    animation-delay: 1s;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(196, 181, 253, 0.2));
}

.element-3 {
    width: 150px;
    height: 150px;
    top: 45%;
    left: 15%;
    animation-delay: 2s;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(196, 181, 253, 0.2));
}

.element-4 {
    width: 100px;
    height: 100px;
    top: 60%;
    left: 50%;
    animation-delay: 3s;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.35), rgba(147, 197, 253, 0.25));
}

.element-5 {
    width: 60px;
    height: 60px;
    top: 70%;
    left: 25%;
    animation-delay: 4s;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.4), rgba(196, 181, 253, 0.3));
}

.element-6 {
    width: 90px;
    height: 90px;
    top: 35%;
    left: 40%;
    animation-delay: 5s;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(196, 181, 253, 0.15));
}

.element-7 {
    width: 110px;
    height: 110px;
    top: 80%;
    left: 65%;
    animation-delay: 2.5s;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(147, 197, 253, 0.2));
}

.element-8 {
    width: 70px;
    height: 70px;
    top: 10%;
    left: 45%;
    animation-delay: 1.5s;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.35), rgba(196, 181, 253, 0.25));
}


/* 浮动动画 */

@keyframes float {
    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(5deg);
    }
    66% {
        transform: translateY(10px) rotate(-3deg);
    }
}


/* 右侧登录区域 */

.login-area {
    width: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    margin-right: 100px;
}


/* 登录卡片 */

.login-card {
    width: 100%;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}


/* Logo区域 */

.logo-section {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
}


/* 登录部分 */

.login-section {
    text-align: center;
}

.login-title {
    color: white;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}


/* 表单样式 */

.login-form {
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-input {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    font-size: 14px;
    font-weight: 400;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-input:focus {
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}


/* 表单选项 */

.form-options {
    text-align: right;
    margin-bottom: 25px;
}

.forgot-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.forgot-link:hover {
    color: white;
}


/* 登录按钮 */

.login-btn {
    width: 100%;
    padding: 15px;
    background: #3b82f6;
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.login-btn:hover::before {
    left: 100%;
}

.login-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.login-btn:active {
    transform: translateY(0);
}


/* 分隔线 */

.divider {
    margin: 25px 0;
    position: relative;
    text-align: center;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.divider span {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    padding: 0 15px;
    position: relative;
    z-index: 1;
}


/* 社交登录 */

.social-login {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 25px;
}

.social-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}


/* 注册链接 */

.signup-link {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.signup-link a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.signup-link a:hover {
    color: #60a5fa;
}